package edu.whut.mall.pojo.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import edu.whut.mall.common.enums.MailType;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * Author: smq
 * Unit: D9lab
 * Date: 2021-06-07 16:15
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Mail implements Serializable{
    private static final long serialVersionUID = 3;
    //自动返回id的值
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    private MailType mailType;
    private String mailCode;
}